<template>
  <div>
    <h2>我是弟弟,我马上也{{ car }}</h2>
  </div>
</template>

<script>
export default {
  name: "Didi",
  data() {
    return {
      car: "十八",
    };
  },
  mounted() {
    this.$bus.$on("getCar", this.getCar);
  },
  methods: {
    getCar(value) {
      this.car = value;
    },
  },
};
</script>

<style></style>
